<?php

namespace App\Kuafu\Shop\Model;

use App\Kuafu\Base\Model\BaseModel;

class ShopBusinessModel extends BaseModel
{
    protected $table      = 'shop_business';
    public    $timestamps = false;

    const IS_NEW_ON  = 1;   //最新的
    const IS_NEW_OFF = 0;   //旧

    protected $fillable = [
        'id',
        'shopId',
        'deliveryType',
        'deliveryTime',
        'shopType',
        'shopName',
        'shopCode',
        'region',
        'date',
        'orderNum',
        'newOpen',
        'dailyManpower',
        'dailyEnergy',
        'roi',
        'estimatedProfit',
        'openMonthLong',
        'openDaysLong',
        'shopArea',
        'orderTurnover',
        'orderOfferAmount',
        'orderReceivedAmount',
        'staffNum',
        'province',
        'city',
        'takeawayOrderTurnover',
        'takeawayOrderOfferAmount',
        'takeawayOrderReceivedAmount',
        'canteenOrderTurnover',
        'canteenOrderOfferAmount',
        'canteenOrderReceivedAmount',
        'canteenEstimatedProfit',
        'takeawayEstimatedProfit',
        'canteenOrderNum',
        'takeawayOrderNum',
        'openBusinessDate',
        'closureTime',
        'franchiseeName',
        'dailyRent',
        'rent',
        'district',
        'shopActiveStatus',
        'status',
        'manpower',
        'preservationPoint',
        'monthBusinessDays',
        'dailyIncome',
        'monthDays',
        'thisYearClose',
        'shopAddress',
        'cityGrade',
        'roiGrade',
        'franchiseeRealName',
        'dailyRentCost',
        'headOperations',
        'privateDomain',
        'mtOrderNum',
        'elmOrderNum',
        'agencyOperationStatus',
        'averageDailyProfit',
        'receivedGrade',
        'profitGrade',
        'weightRoi',
        'loss',
        'shopGrade',
        'siteLocationType',
        'elmRating',
        'mtRating',
        'cashierSystem',
        'elmShopId',
        'elmShopName',
        'mtShopId',
        'mtShopName',
        'takeawayOpenTime',
        'takeawayShopStatus',
        'performanceRange',
        'activityType',
        'shopAreaType',
        'takeawayBusinessDays',
        'createdAt',
        'turnoverAmount',
        'orderAmount',
        'orderRatio',
        'lastCruiseTime',
        'isNew',
    ];
}
